<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>生成二维码</title>
</head>
<body>
<h2>生成二维码</h2>
<?php
include_once "./phpqrcode/phpqrcode.php";
$data="./resources/video/rabbit.mp4";
$outfile="./resources/image/1.png";
$level="L";
$size=10;
$margin=1;
$saveandprint=false;
$bg_color=0xFFFFFF;
$fore_color=0x000000;
$qrcode=new QRcode();
$qrcode->png($data,$outfile,$size,$margin,$saveandprint,$bg_color,$fore_color);
echo"<img src='./resources/image/1.png'>";
?>
</body>
</html>
